﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo2
{
    class Addition:Calculate
    {
        public virtual void DisplayResult(int a, int b)
        {
            int c = a + b;
            Console.WriteLine("和为{0}", c);
        }
    }
}
